export const adminLogin = {
	name: 'AdminLogin',
	path: '/adminLogin',
	component: () => import('@/views/login/AdminLogin.vue'),
	meta: {
		needLayout: false,
		title: '登录'
	}
}

export const Index = {
	name: 'Index',
	path: '/',
	component: () => import('@/views/RouterView.vue'),
	meta: {
		title: '管理系统',
		authentication: (role, route) => (typeof role === 'string') && role.length>0
	}
}

export const notFound = {
	path: '/404',
	name: '404',
	component: () => import('@/views/404.vue'),
	meta: {
		needLayout: false,
		title: '页面找不到',
	}
}
